<?php
class Secao extends AppModel {

	var $name = 'Secao';
        var $actsAs = array('Sluggable' => array('label'=>'nome'));
        var $recursive = 3;
        var $order = 'ordem';
	var $validate = array(
		'nome' => array('notempty')
	);

	//The Associations below have been created with all possible keys, those that are not needed can be removed

        var $hasMany = array(
            'Categoria' => array(
                'className' => 'Categoria',
                'conditions' => '',
                'fields' => '',
                'order' => 'Categoria.nome ASC'
            )
        );

}
?>